package com.wcx.application.service;

import com.wcx.application.domian.BossBean;
import com.wcx.application.domian.StudentBean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BossService {
    List<BossBean> getList();

    int update(BossBean bossBean);

    int delete(int id);

    int updateAvatarById(String originalFilename, int id);

    int create(BossBean bossBean);

    List<BossBean> searchList(BossBean bossBean);

    int updateAvatarByUserName(String originalFilename, String username);

    BossBean login(BossBean bossBean);
}
